package com.ly.activiti.listener;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;

/**
 * @Author LY
 * @create 2023/11/23 8:55
 * @Description 流程监听
 */
public class MyMangerExecutionListener implements ExecutionListener {

    @Override
    public void notify(DelegateExecution execution) {
        System.out.println("**********人事************");
        System.out.println("delegateTask.getId() = "+execution.getId());
        System.out.println("delegateTask.getName() = "+execution.getEventName());
    }
}